package com.roc.steelend.service;


import com.roc.steelend.controller.vo.invoice.FindInvoiceDataReception;
import com.roc.steelend.controller.vo.invoice.InvoiceByBuyOrder;
import com.roc.steelend.controller.vo.invoice.InvoiceByKaipingOrder;
import com.roc.steelend.controller.vo.invoice.InvoiceBySaleOrder;
import com.roc.steelend.controller.vo.returnformat.ReturnMsg;
import com.roc.steelend.controller.vo.returnformat.ReturnMsgForTable;
import com.roc.steelend.pojo.Invoice;
import com.roc.steelend.pojo.InvoiceDetailBuy;
import com.roc.steelend.pojo.TiaoPiaoBuy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigInteger;
import java.sql.Date;
import java.util.List;


public interface InvoiceService {


    ReturnMsg invoiceBuy(InvoiceByBuyOrder invoiceByBuyOrder, Integer employeeId);
    ReturnMsg invoiceSale(InvoiceBySaleOrder invoiceBySaleOrder, Integer employeeId);
    ReturnMsg invoiceKaiping(InvoiceByKaipingOrder invoiceByKaipingOrder, Integer employeeId);

    List<Invoice> getInvoiceData(FindInvoiceDataReception findInvoiceDataReception);
    Integer getInvoiceDataCount(FindInvoiceDataReception findInvoiceDataReception);

}
